home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / perhist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  7.8 KB  |  272 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.02.88 */
  5. /* at Thu Sep 25 09:48:30 1997
  6.  */
  7. /* Compiler settings for perhist.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __perhist_h__
  20. #define __perhist_h__
  21. #pragma option push -b
  22.  
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif 
  26.  
  27. /* Forward Declarations */ 
  28.  
  29. #ifndef __IPersistHistory_FWD_DEFINED__
  30. #define __IPersistHistory_FWD_DEFINED__
  31. typedef interface IPersistHistory IPersistHistory;
  32. #endif     /* __IPersistHistory_FWD_DEFINED__ */
  33.  
  34.  
  35. /* header files for imported files */
  36. #include "objidl.h"
  37. #include "oleidl.h"
  38.  
  39. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  40. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  41.  
  42. /****************************************
  43.  * Generated header for interface: __MIDL_itf_perhist_0000
  44.  * at Thu Sep 25 09:48:30 1997
  45.  * using MIDL 3.02.88
  46.  ****************************************/
  47. /* [local] */ 
  48.  
  49.  
  50. //=--------------------------------------------------------------------------=
  51. // perhist.h
  52. //=--------------------------------------------------------------------------=
  53. // (C) Copyright 1995-1997 Microsoft Corporation.  All Rights Reserved.
  54. //
  55. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  56. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  57. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  58. // PARTICULAR PURPOSE.
  59. //=--------------------------------------------------------------------------=
  60.  
  61. #pragma comment(lib,"uuid.lib")
  62.  
  63. //---------------------------------------------------------------------------=
  64. // IPersistHistory Interface.
  65.  
  66.  
  67. #ifndef _LPPERSISTHISTORY_DEFINED
  68. #define _LPPERSISTHISTORY_DEFINED
  69.  
  70.  
  71. extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_v0_0_c_ifspec;
  72. extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_v0_0_s_ifspec;
  73.  
  74. #ifndef __IPersistHistory_INTERFACE_DEFINED__
  75. #define __IPersistHistory_INTERFACE_DEFINED__
  76.  
  77. /****************************************
  78.  * Generated header for interface: IPersistHistory
  79.  * at Thu Sep 25 09:48:30 1997
  80.  * using MIDL 3.02.88
  81.  ****************************************/
  82. /* [unique][uuid][object] */ 
  83.  
  84.  
  85. typedef /* [unique] */ IPersistHistory __RPC_FAR *LPPERSISTHISTORY;
  86.  
  87.  
  88. EXTERN_C const IID IID_IPersistHistory;
  89.  
  90. #if defined(__cplusplus) && !defined(CINTERFACE)
  91.     
  92.     interface DECLSPEC_UUID("91A565C1-E38F-11d0-94BF-00A0C9055CBF")
  93.     IPersistHistory : public IPersist
  94.     {
  95.     public:
  96.         virtual HRESULT STDMETHODCALLTYPE LoadHistory( 
  97.             /* [in] */ IStream __RPC_FAR *pStream,
  98.             /* [in] */ IBindCtx __RPC_FAR *pbc) = 0;
  99.         
  100.         virtual HRESULT STDMETHODCALLTYPE SaveHistory( 
  101.             /* [in] */ IStream __RPC_FAR *pStream) = 0;
  102.         
  103.         virtual HRESULT STDMETHODCALLTYPE SetPositionCookie( 
  104.             /* [in] */ DWORD dwPositioncookie) = 0;
  105.         
  106.         virtual HRESULT STDMETHODCALLTYPE GetPositionCookie( 
  107.             /* [out] */ DWORD __RPC_FAR *pdwPositioncookie) = 0;
  108.         
  109.     };
  110.     
  111. #else     /* C style interface */
  112.  
  113.     typedef struct IPersistHistoryVtbl
  114.     {
  115.         BEGIN_INTERFACE
  116.         
  117.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  118.             IPersistHistory __RPC_FAR * This,
  119.             /* [in] */ REFIID riid,
  120.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  121.         
  122.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  123.             IPersistHistory __RPC_FAR * This);
  124.         
  125.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  126.             IPersistHistory __RPC_FAR * This);
  127.         
  128.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )( 
  129.             IPersistHistory __RPC_FAR * This,
  130.             /* [out] */ CLSID __RPC_FAR *pClassID);
  131.         
  132.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LoadHistory )( 
  133.             IPersistHistory __RPC_FAR * This,
  134.             /* [in] */ IStream __RPC_FAR *pStream,
  135.             /* [in] */ IBindCtx __RPC_FAR *pbc);
  136.         
  137.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveHistory )( 
  138.             IPersistHistory __RPC_FAR * This,
  139.             /* [in] */ IStream __RPC_FAR *pStream);
  140.         
  141.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPositionCookie )( 
  142.             IPersistHistory __RPC_FAR * This,
  143.             /* [in] */ DWORD dwPositioncookie);
  144.         
  145.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPositionCookie )( 
  146.             IPersistHistory __RPC_FAR * This,
  147.             /* [out] */ DWORD __RPC_FAR *pdwPositioncookie);
  148.         
  149.         END_INTERFACE
  150.     } IPersistHistoryVtbl;
  151.  
  152.     interface IPersistHistory
  153.     {
  154.         CONST_VTBL struct IPersistHistoryVtbl __RPC_FAR *lpVtbl;
  155.     };
  156.  
  157.     
  158.  
  159. #ifdef COBJMACROS
  160.  
  161.  
  162. #define IPersistHistory_QueryInterface(This,riid,ppvObject)    \
  163.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  164.  
  165. #define IPersistHistory_AddRef(This)    \
  166.     (This)->lpVtbl -> AddRef(This)
  167.  
  168. #define IPersistHistory_Release(This)    \
  169.     (This)->lpVtbl -> Release(This)
  170.  
  171.  
  172. #define IPersistHistory_GetClassID(This,pClassID)    \
  173.     (This)->lpVtbl -> GetClassID(This,pClassID)
  174.  
  175.  
  176. #define IPersistHistory_LoadHistory(This,pStream,pbc)    \
  177.     (This)->lpVtbl -> LoadHistory(This,pStream,pbc)
  178.  
  179. #define IPersistHistory_SaveHistory(This,pStream)    \
  180.     (This)->lpVtbl -> SaveHistory(This,pStream)
  181.  
  182. #define IPersistHistory_SetPositionCookie(This,dwPositioncookie)    \
  183.     (This)->lpVtbl -> SetPositionCookie(This,dwPositioncookie)
  184.  
  185. #define IPersistHistory_GetPositionCookie(This,pdwPositioncookie)    \
  186.     (This)->lpVtbl -> GetPositionCookie(This,pdwPositioncookie)
  187.  
  188. #endif /* COBJMACROS */
  189.  
  190.  
  191. #endif     /* C style interface */
  192.  
  193.  
  194.  
  195. HRESULT STDMETHODCALLTYPE IPersistHistory_LoadHistory_Proxy( 
  196.     IPersistHistory __RPC_FAR * This,
  197.     /* [in] */ IStream __RPC_FAR *pStream,
  198.     /* [in] */ IBindCtx __RPC_FAR *pbc);
  199.  
  200.  
  201. void __RPC_STUB IPersistHistory_LoadHistory_Stub(
  202.     IRpcStubBuffer *This,
  203.     IRpcChannelBuffer *_pRpcChannelBuffer,
  204.     PRPC_MESSAGE _pRpcMessage,
  205.     DWORD *_pdwStubPhase);
  206.  
  207.  
  208. HRESULT STDMETHODCALLTYPE IPersistHistory_SaveHistory_Proxy( 
  209.     IPersistHistory __RPC_FAR * This,
  210.     /* [in] */ IStream __RPC_FAR *pStream);
  211.  
  212.  
  213. void __RPC_STUB IPersistHistory_SaveHistory_Stub(
  214.     IRpcStubBuffer *This,
  215.     IRpcChannelBuffer *_pRpcChannelBuffer,
  216.     PRPC_MESSAGE _pRpcMessage,
  217.     DWORD *_pdwStubPhase);
  218.  
  219.  
  220. HRESULT STDMETHODCALLTYPE IPersistHistory_SetPositionCookie_Proxy( 
  221.     IPersistHistory __RPC_FAR * This,
  222.     /* [in] */ DWORD dwPositioncookie);
  223.  
  224.  
  225. void __RPC_STUB IPersistHistory_SetPositionCookie_Stub(
  226.     IRpcStubBuffer *This,
  227.     IRpcChannelBuffer *_pRpcChannelBuffer,
  228.     PRPC_MESSAGE _pRpcMessage,
  229.     DWORD *_pdwStubPhase);
  230.  
  231.  
  232. HRESULT STDMETHODCALLTYPE IPersistHistory_GetPositionCookie_Proxy( 
  233.     IPersistHistory __RPC_FAR * This,
  234.     /* [out] */ DWORD __RPC_FAR *pdwPositioncookie);
  235.  
  236.  
  237. void __RPC_STUB IPersistHistory_GetPositionCookie_Stub(
  238.     IRpcStubBuffer *This,
  239.     IRpcChannelBuffer *_pRpcChannelBuffer,
  240.     PRPC_MESSAGE _pRpcMessage,
  241.     DWORD *_pdwStubPhase);
  242.  
  243.  
  244.  
  245. #endif     /* __IPersistHistory_INTERFACE_DEFINED__ */
  246.  
  247.  
  248. /****************************************
  249.  * Generated header for interface: __MIDL_itf_perhist_0080
  250.  * at Thu Sep 25 09:48:30 1997
  251.  * using MIDL 3.02.88
  252.  ****************************************/
  253. /* [local] */ 
  254.  
  255.  
  256. #endif
  257.  
  258.  
  259. extern RPC_IF_HANDLE __MIDL_itf_perhist_0080_v0_0_c_ifspec;
  260. extern RPC_IF_HANDLE __MIDL_itf_perhist_0080_v0_0_s_ifspec;
  261.  
  262. /* Additional Prototypes for ALL interfaces */
  263.  
  264. /* end of Additional Prototypes */
  265.  
  266. #ifdef __cplusplus
  267. }
  268. #endif
  269.  
  270. #pragma option pop
  271. #endif
  272.